package com.bwie.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @className: GroupRecord
 * @Description: TODO
 * @version: v1.８.0
 * @author: 刘茂锴
 * @date: 2025/10/2 10:16
 */
@Data
public class GroupSession {
    //主键ID
    private Integer id;
    //团购活动ID
    private Integer activityId;
    //团长订单ID
    private Integer leaderOrderId;
    //当前参团人数
    private Integer currentSize;
    //成团人数
    private Integer groupSize;
    //状态(0:拼团中,1:拼团成功,2:拼团失败)
    private Integer status;
    //成团截止时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date expireTime;
    //成团成功时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date successTime;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;


}
